Microsoft.Lync.Model Namespace

Classes

AccessEntry

Represents a user, workgroup, enterprise, federation, or public entity and the associated privacy level.

AccessEntryCollectionChangedEventArgs

Represents the event data of an AccessEntryCollectionEvent.

AccessPermission

Represents a privacy level.

AlertLevel

Presence-based alert policy.

AlertLevelChangedEventArgs

Encapsulates the new state of an AlertLevel instance.

AlreadyInitializedException

Exception thrown when the object is already initialized

Client

Abstract client class which represents the main entry point for the API. Represents the Lync client and provides access to conversations and contacts via their respective manager classes.

ClientNotFoundException

Exception thrown when client process cannot be found

ClientSettings

Encapsulate a client settings method.

ClientSettingsChangedEventArgs

The client setting state that has changed.

ClientStateChangedEventArgs

ClientStateChangedEventData Class which is used to get the old, new client states and the status code from the StateChanged event in the LyncClient class.

ConfigurationErrorException

Exception thrown when Lync is not configured properly.

Contact

Represents a contact within the Lync client. A contact can be person, bot or phone number.

ContactEndpoint

Represents a collaboration endpoint which may be a SIP endpoint or a TEL endpoint.

ContactEndpointCollection

Represents a collection of endpoint identifiers available to a signed in user.

ContactInformationChangedEventArgs

Represents information that has changed for a given contact.

ContactManager

The contact manager class is used to add, remove, and update contacts and their properties. The contact manager is also used to access Lync contact list groups.

ContactSettingChangedEventArgs

Represents the contact settings that were changed as a result of a contact setting changed event.

ContactSubscription

Specifies the type of contact information to be to be subscribed on a collection of contacts set in the subscription.

ContentNotAuthorizedException

Exception thrown when an unauthorized content type is added to the content collection of the ContentSharingModality.

ContentOtherErrorsException

Exception thrown when a cotent title already exists

ContentTitleExistException

Exception thrown when a content title already exists.

ContentTitleInvalidException

Exception thrown when a content title includes invalid characters.

CredentialRequestedEventArgs

CredentialRequestedEventData Class which is used to get the credential request type, domain and user names. The password, domain and user names can be changed from the event data object obtained from the event OnCredentialRequested.

CustomAvailabilityState

Represents a user-defined availability state that is honored by Lync.

DelegatorClient

Represents a Client instance delegated to act on behalf of a delegator.

DelegatorClientCollectionEventArgs

Represents the new state of a delegator client collection.

ExchangeECPUrlChangedEventArgs

Encapsulates the new state of the Exchange ECP Url. Raised when the Exchange ECP Url changes.

InvalidStateException

Exception thrown when the Lync API class object is not in a valid state to start an operation.

ItemAlreadyExistException

Exception thrown when the item aleady exists

ItemNotFoundException

Exception thrown when an item is not found in a collection.

JoinRoomFailException

Exception thrown when joining a room is failed

JoinRoomUnauthorizedException

Exception thrown when joining a room is unauthorized

LocaleString

Class representing a localized string with locale ID.

LyncClient

Implements the client class which represents the main entry point for the API. Represents the Lync client and provides access to conversations and contacts via their respective manager classes.

LyncClientException

LyncClient base exception class.

MaxContentsExceededException

Exception thrown when a cotent title already exists

NotInitializedException

Exception thrown when the Lync client is not initialized or is already shutdown.

NotReadyException

Exception thrown when the operation is pending or Lync client is not ready for the operation.

NotSignedInException

Exception thrown if Lync client is not signed in when a sign in-dependent operation is started.

NotStartedByUserException

Exception thrown when user did not start Lync client.

OperationException

Exception thrown when Lync client failed on an operation.

PendingOperationException

Exception thrown when a new operation cannot be started because a previous operation is not finished.

Phone

Represents a publishable telephone number used to reach a contact.

PhonesChangedEventArgs

Represents the event data of a PhonesChangedEvent.

PreferredCapabilitiesChangedEventArgs

Used to get the endpoint capability types from the event CapabilitiesChanged in the LyncClient class.

PresenceCapability

Encapsulates a communication capability as published by a contact.

PublicCloudProviderInfo

Public cloud provider information.

RepresentationInfo

Encapsulates information about the delegate representation.

RequestCanceledException

Exception thrown when the request is already cancelled.

ResiliencyModeChangedEventArgs

Represents the event data of a ResiliencyModeChangedEvent.

ResultOverflowException

Exception thrown when there are too many results to be returned

RoomNotJoinedException

Exception thrown when a room is joined

SearchException

Exception thrown when a search operation ended with an error.

SearchProviderStateChangedEventArgs

Represents data for the SearchProviderStateChanged event.

SearchResult

Represents a single result of a search that returns one or more results.

SearchResults

Represents all results of a search.

Self

Represents the local signed in user. Self is used to publish your information for other people to see.

SignInConfiguration

Configuration Class which handles the endpoint configuration, such as TransportMode, Internal Server and External Server addresses, sign in auto retry etc. This class object can be obtained by the property Configuration from the LyncClient object.

SignInDelayedEventArgs

Used to get the estimated start delay in milliseconds, and the status code for the delay from the event SignInDelayed in the LyncClient class.

TypeMismatchException

Exception thrown when the item type specified conflicts with existing item type.

UriChangedEventArgs

Represents data for the UriChanged event.

Utilities

Represents a collection of utility functions.

Enums

AccessEntryScope

Enumerates the access entry scopes.

AccessLevel

Enumerates the access entry levels.

AlertModeTypes

Enumerates the modes of alert events.

AlertPrivacyType

A privacy level for the level of alert

ClientSettingsType

Enumerates the client access levels in use.

ClientState

Enumerates the SignIn states of the Lync client.

ContactAvailability

Defines known availability types.

ContactCalendarState

Defines contact calendar states.

ContactCapabilities

Defines Contact Capability types.

ContactEndpointType

Enumerates collaboration endpoint types.

ContactInformationType

Enumerates the contact information types.

ContactSetting

Represents the settings that can be applied locally to a contact.

ContactSourceTypes

Enumerates the contact provider type.

ContactSubscriptionRefreshRate

Enumerates contact subscription freshness.

ContactType

Enumerates the contact types.

CredentialRequestedType

Enumerates password types.

CredentialRequestResult

Enumerates the success state results of a credential.

DefaultNoteType

Defines default note type.

LyncClientCapabilityTypes

Enumerates the capabilities that for preferred client.

LyncClientConfigurationMode

Enumerates Lync Client configuration modes.

LyncClientNotification

Enumerates the Lync Client notification type

NotificationTypes

Enumerates the notification types that are related to level of alerts.

NotificationUrgencyType

Enumerates the urgency levels for the notification.

OrganizationStructureTypes

Enumerates the organizational roles of people in the contact's organization.

PhotoSetting

Enumerates the types for Display AD Photo.

PresenceCapabilityType

Defines the published communications capabilities of a contact.

PublishableContactInformationType

Enumerates the presence items for update.

RedirectionTypes

Enumerates the various types of redirection.

RepresentationType

Enumerates the representation type of the representation info.

SearchException.FailureReason

Enumerates reasons why search failed

SearchFields

Enumerates search filter properties.

SearchOptions

Enumerates search options.

SearchProviders

Enumerates the search provider types.

SearchProviderStatusType

Enumerates search provider statuses.

SignInConfigurationType

Enumerates sign in configuration setting types.

SoftMuteChangeInitiator

Enumerates the possible reasons for the most recent SoftMute state change.

SourceNetworkType

Enumerates source network (network of origin) of a contact.

SupportedFeatures

Enumerates the supported features.

TransportMode

Enumerates the supported transport modes.

UnifiedCommunicationType

Enumerates the Unified Communication types.

UtilitiesAction

Enumerates the actions on collaboration utilities.