WstContext Members

[This is internal Microsoft documentation - Do not distribute.]

WstContext provides the Webstore routing and failover information (Deployment Name, Partition, Failover options). This context is used as input to the Webstore File/Directory APIs (WstFile, WstDirectory, WstFileStream, WstFileInfo, WstDirectoryInfo) so that Webstore can route the operations to the correct File Shares.

The following tables list the members exposed by the WstContext type.

Public Constructors

  Name Description
WstContext Overloaded.  

Top

Public Fields

  Name Description
PartitionAllocate Set WstContext.Partition = WstContext.PartitionAllocate to automatically select best partition to allocate new data
PartitionAny Set WstContext.Partition = WstContext.PartitionAny to randomly select an available partition

Top

Public Properties

  Name Description
Deployment Gets or sets the Deployment Name
FailoverMode Gets or sets the failover mode
Partition Gets or sets the partition index
PartitionType Gets or sets the WstPartitionType

Top

Public Methods

(see also Protected Methods )

  Name Description
Clone Create copy of this context.
Equals  Overloaded. (inherited from Object )
GetHashCode  (inherited from Object )
GetPath Gets the path "\\ + ServerName + \ + SharePath" of the given Fileshare.
GetType  (inherited from Object )
ReferenceEquals  (inherited from Object )
ToString  (inherited from Object )

Top

Protected Methods

  Name Description
Finalize  (inherited from Object )
MemberwiseClone  (inherited from Object )

Top

See Also

Reference

WstContext Class
Microsoft.Webstore.WstClient Namespace