TeamFoundationServiceUnavailableException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the TeamFoundationServiceUnavailableException class with the specified serialization data.
Namespace: Microsoft.TeamFoundation
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
声明
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected TeamFoundationServiceUnavailableException(
SerializationInfo info,
StreamingContext context
)
protected:
TeamFoundationServiceUnavailableException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> TeamFoundationServiceUnavailableException
protected function TeamFoundationServiceUnavailableException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The object that contains the serialization data.
- context
Type: System.Runtime.Serialization.StreamingContext
The context information about the source or destination of the serialization data.
.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
TeamFoundationServiceUnavailableException Class