ServiceProxy Members

Provides an abstract base class to encapsulate service connection operations and user authentication management.

The following tables list the members exposed by the ServiceProxy type.

  Name Description
  ServiceProxy Overloaded. Initializes a new instance of the ServiceProxy class.
Top

(see also Protected Properties)
 NameDescription
public propertyClientCredentialsGets the login credentials of the client.
public propertyDeviceCredentialsGets the Windows Live credentials of a registered device.
public propertyEndpointAutoSwitchEnabledGets or sets a value that enables automatic switching from the organization’s current endpoint to an alternate endpoint.
public propertyEndpointSwitchGets the endpoint switch information from the web service configuration.
public propertyHomeRealmSecurityTokenResponseGets the security token response of the home realm.
public propertyHomeRealmUriGets the home realm URI.
public propertyIsAuthenticatedGets a value indicating if the WCF channel has been authenticated.
public propertySecurityTokenResponseGets the security token response.
public propertyServiceChannelGets the communication channel used to access a Microsoft Dynamics CRM service.
public propertyServiceConfigurationGets a service configuration.
public propertyServiceManagementGets a service management.
public propertyTimeoutGets 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.
public propertyUserPrincipalNameGets or sets the UPN that is an Internet-style login name for a user based on the Internet standard RFC 822.
Top

  Name Description
protected property ChannelFactory Gets a WCF channel factory that manages a single channel instance.
Top

(see also Protected Methods)
 NameDescription
public methodAuthenticateCloses the service channel and channel factory if they are open, and then invokes AuthenticateCore.
public methodAuthenticateCrossRealmInvokes AuthenticateCrossRealmCore.
public methodAuthenticateDeviceInvokes AuthenticateDeviceCore.
public methodDisposeOverloaded. Methods that explicitly free allocated service channel resources.
public methodEquals  (inherited from Object)
public methodGetHashCode  (inherited from Object)
public methodGetType  (inherited from Object)
public methodSwitchToAlternateEndpointSwitches the organization’s current endpoint to an alternate endpoint, if one is available.
public methodToString  (inherited from Object)
Top

  Name Description
protected method AuthenticateCore Authenticates the client with a service.
protected method AuthenticateCrossRealmCore Authenticates a user in a realm other than the realm that the Microsoft Dynamics CRM server is located in.
protected method AuthenticateDeviceCore Authenticates a device with Windows Live.
protected method CloseChannel Closes a validated service channel.
protected method Dispose Overloaded. Methods that explicitly free allocated service channel resources.
protected method Finalize Overridden. Implicitly frees allocated service channel and service factory resources.
protected method HandleFailover Overloaded. For internal use only.
protected method MemberwiseClone  (inherited from Object)
protected method OnFactoryClosed Event handler virtual method for a channel factory that is in a closed state.
protected method OnFactoryFaulted Event handler virtual method for a channel factory that is in a faulted state.
protected method OnFactoryOpened Event handler virtual method for a channel factory that is in an opened state.
protected method static SetBindingTimeout The maximum amount of time a single channel operation has to complete before a timeout fault is raised on a service channel binding.
protected method ShouldRetry Checks a message security exception to determine if a service call should be attempted again.
protected method ValidateAuthentication Authenticates the client and creates a new service channel.
Top

  Name Description
public event EndpointSwitched Occurs when a failover recovery has completed and the organization’s current endpoint has been switched to an alternate endpoint.
public event EndpointSwitchRequired Occurs when a failover has occurred and a switch from the organization’s current endpoint to an alternate endpoint is required.
public event FactoryClosed Occurs when a channel factory is closed.
public event FactoryFaulted Occurs when a channel factory is faulted.
public event FactoryOpened Occurs when a channel factory is opened.
Top

Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.

Community Additions

Show: