Export (0) Print
Expand All

ServiceProxy Members

Applies To: CRM 2015 on-prem, CRM Online

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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.

 NameDescription
 ServiceProxyOverloaded. 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

 NameDescription
protected propertyChannelFactoryGets 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

 NameDescription
protected methodAuthenticateCoreAuthenticates the client with a service.
protected methodAuthenticateCrossRealmCoreAuthenticates a user in a realm other than the realm that the Microsoft Dynamics CRM server is located in.
protected methodAuthenticateDeviceCoreAuthenticates a device with Windows Live.
protected methodCloseChannelCloses a validated service channel.
protected methodDisposeOverloaded. Methods that explicitly free allocated service channel resources.
protected methodFinalizeOverridden. Implicitly frees allocated service channel and service factory resources.
protected methodHandleFailoverOverloaded. For internal use only.
protected methodMemberwiseClone  (inherited from Object)
protected methodOnFactoryClosedEvent handler virtual method for a channel factory that is in a closed state.
protected methodOnFactoryFaultedEvent handler virtual method for a channel factory that is in a faulted state.
protected methodOnFactoryOpenedEvent handler virtual method for a channel factory that is in an opened state.
protected methodstaticSetBindingTimeoutThe maximum amount of time a single channel operation has to complete before a timeout fault is raised on a service channel binding.
protected methodShouldRetryChecks a message security exception to determine if a service call should be attempted again.
protected methodValidateAuthenticationAuthenticates the client and creates a new service channel.
Top

 NameDescription
public eventEndpointSwitchedOccurs when a failover recovery has completed and the organization’s current endpoint has been switched to an alternate endpoint.
public eventEndpointSwitchRequiredOccurs when a failover has occurred and a switch from the organization’s current endpoint to an alternate endpoint is required.
public eventFactoryClosedOccurs when a channel factory is closed.
public eventFactoryFaultedOccurs when a channel factory is faulted.
public eventFactoryOpenedOccurs when a channel factory is opened.
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft