DiscoveryServiceProxy Members
Applies To: Microsoft Dynamics CRM 2013, Microsoft Dynamics CRM Online
Implements IDiscoveryService and provides an authenticated WCF channel to the discovery service endpoint.
The following tables list the members exposed by the DiscoveryServiceProxy type.
Public Constructors
Name | Description | |
---|---|---|
DiscoveryServiceProxy | Overloaded. Initializes a new instance of the DiscoveryServiceProxy class. |
Top
Public Properties
(see also Protected Properties)
Name | Description | |
---|---|---|
ClientCredentials | Gets the login credentials of the client. (inherited from ServiceProxy) | |
DeviceCredentials | Gets the Windows Live credentials of a registered device. (inherited from ServiceProxy) | |
EndpointAutoSwitchEnabled | Gets or sets a value that enables automatic switching from the organization’s current endpoint to an alternate endpoint. (inherited from ServiceProxy) | |
EndpointSwitch | Gets the endpoint switch information from the web service configuration. (inherited from ServiceProxy) | |
HomeRealmSecurityTokenResponse | Gets the security token response of the home realm. (inherited from ServiceProxy) | |
HomeRealmUri | Gets the home realm URI. (inherited from ServiceProxy) | |
IsAuthenticated | Gets a value indicating if the WCF channel has been authenticated. (inherited from ServiceProxy) | |
SecurityTokenResponse | Gets the security token response. (inherited from ServiceProxy) | |
ServiceChannel | Gets the communication channel used to access a Microsoft Dynamics CRM service. (inherited from ServiceProxy) | |
ServiceConfiguration | Gets a service configuration. (inherited from ServiceProxy) | |
ServiceManagement | Gets a service management. (inherited from ServiceProxy) | |
Timeout | Gets or sets the maximum amount of time a single channel operation has to complete before a timeout fault is raised on a service channel binding. (inherited from ServiceProxy) | |
UserPrincipalName | Gets or sets the UPN that is an Internet-style login name for a user based on the Internet standard RFC 822. (inherited from ServiceProxy) |
Top
Protected Properties
Name | Description | |
---|---|---|
ChannelFactory | Gets a WCF channel factory that manages a single channel instance. (inherited from ServiceProxy) |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Authenticate | Closes the service channel and channel factory if they are open, and then invokes AuthenticateCore. (inherited from ServiceProxy) | |
AuthenticateCrossRealm | Invokes AuthenticateCrossRealmCore. (inherited from ServiceProxy) | |
AuthenticateDevice | Invokes AuthenticateDeviceCore. (inherited from ServiceProxy) | |
Dispose | Overloaded. Methods that explicitly free allocated service channel resources. (inherited from ServiceProxy) | |
Equals | (inherited from Object) | |
Execute | See IDiscoveryService.Execute | |
GetHashCode | (inherited from Object) | |
GetType | (inherited from Object) | |
SwitchToAlternateEndpoint | Switches the organization’s current endpoint to an alternate endpoint, if one is available. (inherited from ServiceProxy) | |
ToString | (inherited from Object) |
Top
Protected Methods
Name | Description | |
---|---|---|
AuthenticateCore | Authenticates the client with a service. (inherited from ServiceProxy) | |
AuthenticateCrossRealmCore | Authenticates a user in a realm other than the realm that the Microsoft Dynamics CRM server is located in. (inherited from ServiceProxy) | |
AuthenticateDeviceCore | Authenticates a device with Windows Live. (inherited from ServiceProxy) | |
CloseChannel | Closes a validated service channel. (inherited from ServiceProxy) | |
Dispose | Overloaded. Methods that explicitly free allocated service channel resources. (inherited from ServiceProxy) | |
Finalize | Overridden. Implicitly frees allocated service channel and service factory resources. (inherited from Object) | |
HandleFailover | Overloaded. For internal use only. (inherited from ServiceProxy) | |
MemberwiseClone | (inherited from Object) | |
OnFactoryClosed | Event handler virtual method for a channel factory that is in a closed state. (inherited from ServiceProxy) | |
OnFactoryFaulted | Event handler virtual method for a channel factory that is in a faulted state. (inherited from ServiceProxy) | |
OnFactoryOpened | Event handler virtual method for a channel factory that is in an opened state. (inherited from ServiceProxy) | |
ShouldRetry | Checks a message security exception to determine if a service call should be attempted again. (inherited from ServiceProxy) | |
ValidateAuthentication | Authenticates the client and creates a new service channel. (inherited from ServiceProxy) |
Top
Public Events
Name | Description | |
---|---|---|
EndpointSwitched | Occurs when a failover recovery has completed and the organization’s current endpoint has been switched to an alternate endpoint. (inherited from ServiceProxy) | |
EndpointSwitchRequired | Occurs when a failover has occurred and a switch from the organization’s current endpoint to an alternate endpoint is required. (inherited from ServiceProxy) | |
FactoryClosed | Occurs when a channel factory is closed. (inherited from ServiceProxy) | |
FactoryFaulted | Occurs when a channel factory is faulted. (inherited from ServiceProxy) | |
FactoryOpened | Occurs when a channel factory is opened. (inherited from ServiceProxy) |
Top
See Also
Reference
DiscoveryServiceProxy Class
Microsoft.Xrm.Sdk.Client Namespace
Other Resources
Sample: Access the Discovery Service
Helper Code: ServerConnection Class
Send comments about this topic to Microsoft.
© 2013 Microsoft Corporation. All rights reserved.