Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Applies To: Dynamics CRM 2015
Ensures that the access token and other header values are added to every outbound service call.
Namespace: Microsoft.Xrm.Sdk.WebServiceClient
Assembly: Microsoft.Xrm.Sdk (in Microsoft.Xrm.Sdk.dll)
Inheritance Hierarchy
System.Object
Microsoft.Xrm.Sdk.WebServiceClient.WebProxyClientContextInitializer<TService>
Syntax
public abstract class WebProxyClientContextInitializer<TService> : IDisposable
where TService : class
generic<typename TService>
where TService : ref class
public ref class WebProxyClientContextInitializer abstract : IDisposable
[<AbstractClass>]
type WebProxyClientContextInitializer<'TService when 'TService : not struct> =
class
interface IDisposable
end
Public MustInherit Class WebProxyClientContextInitializer(Of TService As Class)
Implements IDisposable
Type Parameters
- TService
A web service.
Constructors
Name | Description | |
---|---|---|
![]() |
WebProxyClientContextInitializer<TService>(WebProxyClient<TService>) | Initializes a new instance of theWebProxyClientContextInitializer<TService> class using a web proxy client. |
Properties
Name | Description | |
---|---|---|
![]() |
ServiceProxy | Gets the web proxy client for the service. |
Methods
Name | Description | |
---|---|---|
![]() |
AddCommonHeaders() | Adds common and required headers to the outbound service call. |
![]() |
AddTokenToHeaders() | Adds the access token to the Authorization header of the outbound service call. |
![]() |
Dispose() | Disposes the web proxy client context initializer object. |
![]() |
Dispose(Boolean) | Disposes the web proxy client context initializer object. |
![]() |
Equals(Object) | (Inherited from Object.) |
![]() |
Finalize() | Destructor for WebProxyClient<TService> objects.(Overrides Object.Finalize().) |
![]() |
GetHashCode() | (Inherited from Object.) |
![]() |
GetType() | (Inherited from Object.) |
![]() |
Initialize(ClientBase<TService>) | Initializes the WebProxyClientContextInitializer<TService> object using a client base object. |
![]() |
MemberwiseClone() | (Inherited from Object.) |
![]() |
ToString() | (Inherited from Object.) |
Thread Safety
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.Xrm.Sdk.WebServiceClient Namespace
Return to top
© 2016 Microsoft. All rights reserved. Copyright