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.
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
| Name | Description | |
|---|---|---|
![]() | OrganizationServiceProxy | Initializes a new instance of the OrganizationServiceProxy class using a service configuration and client credentials. |
![]() | OrganizationServiceProxy | Initializes a new instance of the OrganizationServiceProxy class using a service configuration and a security token response. |
![]() | OrganizationServiceProxy | Initializes a new instance of the OrganizationServiceProxy class using a service configuration and client credentials. |
![]() | OrganizationServiceProxy | Initializes a new instance of the OrganizationServiceProxy class using a service management and a security token response. |
![]() | OrganizationServiceProxy | Initializes a new instance of the OrganizationServiceProxy class using a organization service URI, home realm URI, and client and device credentials. |
| Name | Description | |
|---|---|---|
![]() | Gets or sets the ID of the user for whom SDK calls are made on behalf of. | |
![]() | ||
![]() | Gets a WCF channel factory that manages a single channel instance.(Inherited from ServiceProxy.) | |
![]() | Gets the login credentials of the client.(Inherited from ServiceProxy.) | |
![]() | Gets the Windows Live credentials of a registered device.(Inherited from ServiceProxy.) | |
![]() | Gets or sets a value that enables automatic switching from the organization’s current endpoint to an alternate endpoint.(Inherited from ServiceProxy.) | |
![]() | Gets the endpoint switch information from the web service configuration.(Inherited from ServiceProxy.) | |
![]() | Gets the security token response of the home realm.(Inherited from ServiceProxy.) | |
![]() | Gets the home realm URI.(Inherited from ServiceProxy.) | |
![]() | Gets a value indicating if the WCF channel has been authenticated.(Inherited from ServiceProxy.) | |
![]() | Gets or sets the version of the client. | |
![]() | Gets the security token response.(Inherited from ServiceProxy.) | |
![]() | Gets the communication channel used to access a Microsoft Dynamics 365 service.(Inherited from ServiceProxy.) | |
![]() | Gets a service configuration.(Inherited from ServiceProxy.) | |
![]() | Gets a service management.(Inherited from ServiceProxy.) | |
![]() | For internal use only. | |
![]() | 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.) | |
![]() | 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.) | |
![]() |
| Name | Description | |
|---|---|---|
![]() | Associate | Creates a link between records. |
![]() | AssociateCore | For internal use only. |
![]() | Authenticate | Closes the service channel and channel factory if they are open, and then invokes AuthenticateCore.(Inherited from ServiceProxy.) |
![]() | AuthenticateCore | Authenticates the client with a service.(Inherited from ServiceProxy.) |
![]() | AuthenticateCrossRealm | Invokes AuthenticateCrossRealmCore.(Inherited from ServiceProxy.) |
![]() | AuthenticateCrossRealmCore | Authenticates a user in a realm other than the realm that the Microsoft Dynamics 365 server is located in.(Inherited from ServiceProxy.) |
![]() | AuthenticateDevice | Invokes AuthenticateDeviceCore.(Inherited from ServiceProxy.) |
![]() | AuthenticateDeviceCore | Authenticates a device with Windows Live.(Inherited from ServiceProxy.) |
![]() | CloseChannel | Closes a validated service channel.(Inherited from ServiceProxy.) |
![]() | Create | Creates a record. |
![]() | CreateCore | For internal use only. |
![]() | Delete | Deletes a record. |
![]() | DeleteCore | For internal use only. |
![]() | Disassociate | Deletes a link between records. |
![]() | DisassociateCore | For internal use only. |
![]() | Dispose | Custom implementation of Dispose that disposes the service channel and channel factory.(Inherited from ServiceProxy.) |
![]() | Dispose | Custom implementation of Dispose that disposes the service channel and channel factory.(Inherited from ServiceProxy.) |
![]() | EnableProxyTypes | Enables support for the early-bound entity types. |
![]() | EnableProxyTypes | Enables support for the early-bound entity types exposed in a specified assembly. |
![]() | Equals | (Inherited from Object.) |
![]() | Execute | Executes a message in the form of a request, and returns a response. |
![]() | ExecuteCore | For internal use only. |
![]() | Finalize | Implicitly frees allocated service channel and service factory resources.(Inherited from ServiceProxy.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | HandleFailover | For internal use only.(Inherited from ServiceProxy.) |
![]() | HandleFailover | 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.) |
![]() | Retrieve | Retrieves a record. |
![]() | RetrieveCore | For internal use only. |
![]() | RetrieveMultiple | Retrieves a collection of records. |
![]() | RetrieveMultipleCore | For internal use only. |
![]() | ShouldRetry | Checks a message security exception to determine if a service call should be attempted again.(Inherited from ServiceProxy.) |
![]() | SwitchToAlternateEndpoint | Switches the organization’s current endpoint to an alternate endpoint, if one is available.(Inherited from ServiceProxy.) |
![]() | ToString | (Inherited from Object.) |
![]() | Update | Updates an existing record. |
![]() | UpdateCore | For internal use only. |
![]() | ValidateAuthentication | Authenticates the client and creates a new service channel.(Inherited from ServiceProxy.) |
| 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.) |
To call the Microsoft Dynamics 365 web service using the IOrganizationService interface, cast the proxy instance to an IOrganizationService type.
Important |
|---|
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.
Microsoft Dynamics 365
© 2016 Microsoft. All rights reserved. Copyright





