OrganizationServiceProxy Members

Implements IOrganizationService and provides an authenticated WCF channel to the organization service.

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

Public Constructors

  Name Description
  OrganizationServiceProxy Overloaded. Initializes a new instance of the OrganizationServiceProxy class.

Top

Public Properties

(see also Protected Properties)

  Name Description
public property CallerId Gets or sets the ID of the user for whom SDK calls are made on behalf of.
public property CallerRegardingObjectId  
public property ClientCredentials  Gets the login credentials of the client. (inherited from ServiceProxy)
public property DeviceCredentials  Gets the Windows Live credentials of a registered device. (inherited from ServiceProxy)
public property EndpointAutoSwitchEnabled  Gets or sets a value that enables automatic switching from the organization’s current endpoint to an alternate endpoint. (inherited from ServiceProxy)
public property EndpointSwitch  Gets the endpoint switch information from the web service configuration. (inherited from ServiceProxy)
public property HomeRealmSecurityTokenResponse  Gets the security token response of the home realm. (inherited from ServiceProxy)
public property HomeRealmUri  Gets the home realm URI. (inherited from ServiceProxy)
public property IsAuthenticated  Gets a value indicating if the WCF channel has been authenticated. (inherited from ServiceProxy)
public property SdkClientVersion Gets or sets the version of the client.
public property SecurityTokenResponse  Gets the security token response. (inherited from ServiceProxy)
public property ServiceChannel  Gets the communication channel used to access a Microsoft Dynamics CRM service. (inherited from ServiceProxy)
public property ServiceConfiguration  Gets a service configuration. (inherited from ServiceProxy)
public property ServiceManagement  Gets a service management. (inherited from ServiceProxy)
public property SyncOperationType For internal use only.
public property 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)
public property 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)
public property UserType  

Top

Protected Properties

  Name Description
protected property ChannelFactory  Gets a WCF channel factory that manages a single channel instance. (inherited from ServiceProxy)

Top

Public Methods

(see also Protected Methods)

  Name Description
public method Associate Creates a link between records.
public method Authenticate  Closes the service channel and channel factory if they are open, and then invokes AuthenticateCore. (inherited from ServiceProxy)
public method AuthenticateCrossRealm  Invokes AuthenticateCrossRealmCore. (inherited from ServiceProxy)
public method AuthenticateDevice  Invokes AuthenticateDeviceCore. (inherited from ServiceProxy)
public method Create Creates a record.
public method Delete Deletes a record.
public method Disassociate Deletes a link between records.
public method Dispose  Overloaded. Methods that explicitly free allocated service channel resources. (inherited from ServiceProxy)
public method EnableProxyTypes Overloaded. Enables support for the early-bound entity types.
public method Equals  (inherited from Object)
public method Execute Executes a message in the form of a request, and returns a response.
public method GetHashCode  (inherited from Object)
public method GetType  (inherited from Object)
public method Retrieve Retrieves a record.
public method RetrieveMultiple Retrieves a collection of records.
public method SwitchToAlternateEndpoint  Switches the organization’s current endpoint to an alternate endpoint, if one is available. (inherited from ServiceProxy)
public method ToString  (inherited from Object)
public method Update Updates an existing record.

Top

Protected Methods

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

Top

Public Events

  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. (inherited from ServiceProxy)
public event 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)
public event FactoryClosed  Occurs when a channel factory is closed.  (inherited from ServiceProxy)
public event FactoryFaulted  Occurs when a channel factory is faulted. (inherited from ServiceProxy)
public event FactoryOpened  Occurs when a channel factory is opened. (inherited from ServiceProxy)

Top

See Also

Reference

OrganizationServiceProxy Class
Microsoft.Xrm.Sdk.Client Namespace

Other Resources

Active Directory and Claims-Based Authentication
Sample: Authenticate Users with Microsoft Dynamics CRM Web Services
Troubleshooting and Error Handling
Read and Write Data and Metadata using the IOrganizationService Web Service

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