SPServiceContext Methods

Include Protected Members
Include Inherited Members

The SPServiceContext type exposes the following members.

Methods

  Name Description
Public method Equals(Object) Determines whether the specified object is equal to the current SPServiceContext. (Overrides Object.Equals(Object).)
Public method Equals(SPServiceContext) Determines whether the specified object is equal to the current SPServiceContext.
Protected method Finalize (Inherited from Object.)
Public methodStatic member GetContext(HttpContext) Gets the service context that is associated with the specified HttpContext object.
Public methodStatic member GetContext(SPSite) Gets the service context for the specified SPSite object.
Public methodStatic member GetContext(SPServiceApplicationProxyGroup, SPSiteSubscriptionIdentifier) Retrieves the service context that is associated with the specified SPServiceApplicationProxyGroup instance and SPSiteSubscriptionIdentifier.
Public method GetDefaultProxy Returns the default service application proxy for the specified type.
Public method GetHashCode Gets the hash code for the current SPServiceContext. (Overrides Object.GetHashCode().)
Public method GetProxies Returns an enumerator that can be used to iterate over the service application proxies of the specified type.
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

See Also

Reference

SPServiceContext Class

Microsoft.SharePoint Namespace