ClientException Constructor (SerializationInfo, StreamingContext)
Initializes a new ClientException instance.
Namespace: Microsoft.TeamFoundation.WorkItemTracking.Client
Assembly: Microsoft.TeamFoundation.WorkItemTracking.Client (in Microsoft.TeamFoundation.WorkItemTracking.Client.dll)
Syntax
'Déclaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected ClientException(
SerializationInfo info,
StreamingContext context
)
protected:
ClientException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> ClientException
protected function ClientException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The serialization information about this exception.
- context
Type: System.Runtime.Serialization.StreamingContext
The context of this exception.
.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.