BindWithWellKnownFolder static method

Future<UserConfiguration> BindWithWellKnownFolder(
  1. ExchangeService service,
  2. String name,
  3. WellKnownFolderName parentFolderName,
  4. Set<UserConfigurationProperties> properties,
)
Binds to an existing user configuration and loads the specified properties. Calling this method results in a call to EWS. The service to which the user configuration is bound. The name of the user configuration. The name of the folder containing the user configuration. The properties to load.

Implementation

static Future<UserConfiguration> BindWithWellKnownFolder(
  ExchangeService service,
  String name,
  WellKnownFolderName parentFolderName,
  Set<UserConfigurationProperties> properties,
) {
  return UserConfiguration.Bind(
    service,
    name,
    FolderId.fromWellKnownFolder(parentFolderName),
    properties,
  );
}