OrganizationWebProxyClient 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 connection to the Organization.svc/web endpoint. This /web endpoint is also used by web resources.

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

System.Object
  System.ServiceModel.ClientBase<TChannel>
    Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClient<TService>
      Microsoft.Xrm.Sdk.WebServiceClient.OrganizationWebProxyClient

public class OrganizationWebProxyClient : WebProxyClient<IOrganizationService>, 
	IOrganizationService

NameDescription
System_CAPS_pubmethodOrganizationWebProxyClient(Uri, Assembly)

Initializes a new instance of theOrganizationWebProxyClient class using an Organization service URL and an assembly.

System_CAPS_pubmethodOrganizationWebProxyClient(Uri, Boolean)

Initializes a new instance of theOrganizationWebProxyClient class using an Organization service URL.

System_CAPS_pubmethodOrganizationWebProxyClient(Uri, TimeSpan, Assembly)

Initializes a new instance of theOrganizationWebProxyClient class using an Organization service URL, a time span, and an assembly.

System_CAPS_pubmethodOrganizationWebProxyClient(Uri, TimeSpan, Boolean)

Initializes a new instance of theOrganizationWebProxyClient class using an Organization service URL and time span.

NameDescription
System_CAPS_pubpropertyCallerId

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

System_CAPS_pubpropertyCallerRegardingObjectId

System_CAPS_protpropertyChannel

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertyChannelFactory

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertyClientCredentials

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertyEndpoint

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertyHeaderToken

The access token returned from OAuth authentication.(Inherited from WebProxyClient<TService>.)

System_CAPS_pubpropertyInnerChannel

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertySdkClientVersion

The version of your client application.(Inherited from WebProxyClient<TService>.)

System_CAPS_pubpropertyState

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubpropertySyncOperationType

For internal use only.

System_CAPS_pubpropertyuserType

NameDescription
System_CAPS_pubmethodAbort()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodAssociate(String, Guid, Relationship, EntityReferenceCollection)

Creates a link between records.

System_CAPS_protmethodAssociateCore(String, Guid, Relationship, EntityReferenceCollection)

For internal use only.

System_CAPS_pubmethodClose()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodCreate(Entity)

Creates a record.

System_CAPS_protmethodCreateChannel()

(Inherited from ClientBase<TChannel>.)

System_CAPS_protmethodCreateCore(Entity)

For internal use only.

System_CAPS_protmethodCreateNewInitializer()

Creates the WCF proxy client initializer which gets invoked on every SDK method call. This method makes sure that the access token and other header values are added to the outbound call.(Overrides WebProxyClient<TService>.CreateNewInitializer().)

System_CAPS_pubmethodDelete(String, Guid)

Deletes a record.

System_CAPS_protmethodDeleteCore(String, Guid)

For internal use only.

System_CAPS_pubmethodDisassociate(String, Guid, Relationship, EntityReferenceCollection)

Deletes a link between records.

System_CAPS_protmethodDisassociateCore(String, Guid, Relationship, EntityReferenceCollection)

For internal use only.

System_CAPS_pubmethodDisplayInitializationUI()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodDispose()

Disposes the web proxy client object.(Inherited from WebProxyClient<TService>.)

System_CAPS_protmethodDispose(Boolean)

Disposes the web proxy client object.(Inherited from WebProxyClient<TService>.)

System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodExecute(OrganizationRequest)

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

System_CAPS_protmethodExecuteCore(OrganizationRequest)

For internal use only.

System_CAPS_protmethodFinalize()

Destructor for the WebProxyClient<TService> class.(Inherited from WebProxyClient<TService>.)

System_CAPS_protmethodGetDefaultValueForInitialization<T>()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_protmethodInvokeAsync(ClientBase<TChannel>.BeginOperationDelegate, Object[], ClientBase<TChannel>.EndOperationDelegate, SendOrPostCallback, Object)

(Inherited from ClientBase<TChannel>.)

System_CAPS_protmethodMemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethodOpen()

(Inherited from ClientBase<TChannel>.)

System_CAPS_pubmethodRetrieve(String, Guid, ColumnSet)

Retrieves a record.

System_CAPS_protmethodRetrieveCore(String, Guid, ColumnSet)

For internal use only.

System_CAPS_pubmethodRetrieveMultiple(QueryBase)

Retrieves a collection of records.

System_CAPS_protmethodRetrieveMultipleCore(QueryBase)

For internal use only.

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUpdate(Entity)

Updates an existing record.

System_CAPS_protmethodUpdateCore(Entity)

For internal use only.

You must set the HeaderToken and SdkClientVersion property values before using the proxy object to make service calls.

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

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

Show: