LocalWorkspaceRequiredException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the LocalWorkspaceRequiredException class.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected LocalWorkspaceRequiredException(
SerializationInfo info,
StreamingContext context
)
protected:
LocalWorkspaceRequiredException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> LocalWorkspaceRequiredException
protected function LocalWorkspaceRequiredException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoA SerializationInfo object that contains the information required to serialize the new LocalWorkspaceRequiredException instance.
context
Type: System.Runtime.Serialization.StreamingContextA StreamingContext object that contains the source and destination of the serialized stream associated with the LocalWorkspaceRequiredException instance.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
LocalWorkspaceRequiredException Class