OrganizationServiceProxy Class

 

Updated: November 29, 2016

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

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

Namespace:   Microsoft.Xrm.Sdk.Client
Assembly:  Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)

SystemObject
  Microsoft.Xrm.Sdk.ClientServiceProxy
    Microsoft.Xrm.Sdk.ClientOrganizationServiceProxy

No code example is currently available or this language may not be supported.

NameDescription
System_CAPS_pubmethodOrganizationServiceProxy

Initializes a new instance of the OrganizationServiceProxy class using a service configuration and client credentials.

System_CAPS_pubmethodOrganizationServiceProxy

Initializes a new instance of the OrganizationServiceProxy class using a service configuration and a security token response.

System_CAPS_pubmethodOrganizationServiceProxy

Initializes a new instance of the OrganizationServiceProxy class using a service configuration and client credentials.

System_CAPS_pubmethodOrganizationServiceProxy

Initializes a new instance of the OrganizationServiceProxy class using a service management and a security token response.

System_CAPS_pubmethodOrganizationServiceProxy

Initializes a new instance of the OrganizationServiceProxy class using a organization service URI, home realm URI, and client and device credentials.

NameDescription
System_CAPS_pubproperty

Gets or sets the ID of the user for whom SDK calls are made on behalf of.

System_CAPS_pubproperty

System_CAPS_protproperty

Gets a WCF channel factory that manages a single channel instance.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets the login credentials of the client.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets the Windows Live credentials of a registered device.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets or sets a value that enables automatic switching from the organization’s current endpoint to an alternate endpoint.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets the endpoint switch information from the web service configuration.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets the security token response of the home realm.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets the home realm URI.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets a value indicating if the WCF channel has been authenticated.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets or sets the version of the client.

System_CAPS_pubproperty

Gets the security token response.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets the communication channel used to access a Microsoft Dynamics 365 service.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets a service configuration.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

Gets a service management.(Inherited from ServiceProxy.)

System_CAPS_pubproperty

For internal use only.

System_CAPS_pubproperty

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.)

System_CAPS_pubproperty

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.)

System_CAPS_pubproperty

NameDescription
System_CAPS_pubmethodAssociate

Creates a link between records.

System_CAPS_protmethodAssociateCore

For internal use only.

System_CAPS_pubmethodAuthenticate

Closes the service channel and channel factory if they are open, and then invokes AuthenticateCore.(Inherited from ServiceProxy.)

System_CAPS_protmethodAuthenticateCore

Authenticates the client with a service.(Inherited from ServiceProxy.)

System_CAPS_pubmethodAuthenticateCrossRealm

Invokes AuthenticateCrossRealmCore.(Inherited from ServiceProxy.)

System_CAPS_protmethodAuthenticateCrossRealmCore

Authenticates a user in a realm other than the realm that the Microsoft Dynamics 365 server is located in.(Inherited from ServiceProxy.)

System_CAPS_pubmethodAuthenticateDevice

Invokes AuthenticateDeviceCore.(Inherited from ServiceProxy.)

System_CAPS_protmethodAuthenticateDeviceCore

Authenticates a device with Windows Live.(Inherited from ServiceProxy.)

System_CAPS_protmethodCloseChannel

Closes a validated service channel.(Inherited from ServiceProxy.)

System_CAPS_pubmethodCreate

Creates a record.

System_CAPS_protmethodCreateCore

For internal use only.

System_CAPS_pubmethodDelete

Deletes a record.

System_CAPS_protmethodDeleteCore

For internal use only.

System_CAPS_pubmethodDisassociate

Deletes a link between records.

System_CAPS_protmethodDisassociateCore

For internal use only.

System_CAPS_pubmethodDispose

Custom implementation of Dispose that disposes the service channel and channel factory.(Inherited from ServiceProxy.)

System_CAPS_protmethodDispose

Custom implementation of Dispose that disposes the service channel and channel factory.(Inherited from ServiceProxy.)

System_CAPS_pubmethodEnableProxyTypes

Enables support for the early-bound entity types.

System_CAPS_pubmethodEnableProxyTypes

Enables support for the early-bound entity types exposed in a specified assembly.

System_CAPS_pubmethodEquals

(Inherited from Object.)

System_CAPS_pubmethodExecute

Executes a message in the form of a request, and returns a response.

System_CAPS_protmethodExecuteCore

For internal use only.

System_CAPS_protmethodFinalize

Implicitly frees allocated service channel and service factory resources.(Inherited from ServiceProxy.)

System_CAPS_pubmethodGetHashCode

(Inherited from Object.)

System_CAPS_pubmethodGetType

(Inherited from Object.)

System_CAPS_protmethodHandleFailover

For internal use only.(Inherited from ServiceProxy.)

System_CAPS_protmethodHandleFailover

For internal use only.(Inherited from ServiceProxy.)

System_CAPS_protmethodMemberwiseClone

(Inherited from Object.)

System_CAPS_protmethodOnFactoryClosed

Event handler virtual method for a channel factory that is in a closed state.(Inherited from ServiceProxy.)

System_CAPS_protmethodOnFactoryFaulted

Event handler virtual method for a channel factory that is in a faulted state.(Inherited from ServiceProxy.)

System_CAPS_protmethodOnFactoryOpened

Event handler virtual method for a channel factory that is in an opened state.(Inherited from ServiceProxy.)

System_CAPS_pubmethodRetrieve

Retrieves a record.

System_CAPS_protmethodRetrieveCore

For internal use only.

System_CAPS_pubmethodRetrieveMultiple

Retrieves a collection of records.

System_CAPS_protmethodRetrieveMultipleCore

For internal use only.

System_CAPS_protmethodShouldRetry

Checks a message security exception to determine if a service call should be attempted again.(Inherited from ServiceProxy.)

System_CAPS_pubmethodSwitchToAlternateEndpoint

Switches the organization’s current endpoint to an alternate endpoint, if one is available.(Inherited from ServiceProxy.)

System_CAPS_pubmethodToString

(Inherited from Object.)

System_CAPS_pubmethodUpdate

Updates an existing record.

System_CAPS_protmethodUpdateCore

For internal use only.

System_CAPS_protmethodValidateAuthentication

Authenticates the client and creates a new service channel.(Inherited from ServiceProxy.)

NameDescription
System_CAPS_pubeventEndpointSwitched

Occurs when a failover recovery has completed and the organization’s current endpoint has been switched to an alternate endpoint.(Inherited from ServiceProxy.)

System_CAPS_pubeventEndpointSwitchRequired

Occurs when a failover has occurred and a switch from the organization’s current endpoint to an alternate endpoint is required.(Inherited from ServiceProxy.)

System_CAPS_pubeventFactoryClosed

Occurs when a channel factory is closed. (Inherited from ServiceProxy.)

System_CAPS_pubeventFactoryFaulted

Occurs when a channel factory is faulted.(Inherited from ServiceProxy.)

System_CAPS_pubeventFactoryOpened

Occurs when a channel factory is opened.(Inherited from ServiceProxy.)

To call the Microsoft Dynamics 365 web service using the IOrganizationService interface, cast the proxy instance to an IOrganizationService type.

System_CAPS_importantImportant

This class is not thread safe. Microsoft Dynamics 365 (online) authentication using the Microsoft Online Services environment identity provider, including Microsoft Office 365, is supported.

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright

Community Additions

ADD
Show: