LabelNotFoundException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the LabelNotFoundException 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 LabelNotFoundException(
SerializationInfo info,
StreamingContext context
)
protected:
LabelNotFoundException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> LabelNotFoundException
protected function LabelNotFoundException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoA SerializationInfo object that contains the information required to serialize the new LabelNotFoundException instance.
context
Type: System.Runtime.Serialization.StreamingContextA StreamingContext object that contains the source and destination of the serialized stream associated with the LabelNotFoundException 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.