SPServiceContext members
Represents a context object that encapsulates all the information that is required to make a call to a service application.
The SPServiceContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
Current | Gets the service context for the application that is currently running. | |
SiteSubscriptionId | Gets the site subscription identifier for this service context. |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current SPServiceContext. (Overrides Object.Equals(Object).) | |
Equals(SPServiceContext) | Determines whether the specified object is equal to the current SPServiceContext. | |
Finalize | (Inherited from Object.) | |
GetContext(HttpContext) | Gets the service context that is associated with the specified HttpContext object. | |
GetContext(SPSite) | Gets the service context for the specified SPSite object. | |
GetContext(SPServiceApplicationProxyGroup, SPSiteSubscriptionIdentifier) | Retrieves the service context that is associated with the specified SPServiceApplicationProxyGroup instance and SPSiteSubscriptionIdentifier. | |
GetDefaultProxy | Returns the default service application proxy for the specified type. | |
GetHashCode | Gets the hash code for the current SPServiceContext. (Overrides Object.GetHashCode().) | |
GetProxies | Returns an enumerator that can be used to iterate over the service application proxies of the specified type. | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Operators
Name | Description | |
---|---|---|
Equality | Determines whether the two specified SPServiceContext objects have the same value. | |
Inequality | Determines whether the two specified SPServiceContext objects have different values. |
Top