DeletionException Constructor (SerializationInfo, StreamingContext)
Initializes a new DeletionException instance.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.DeleteTeamProject (in Microsoft.TeamFoundation.DeleteTeamProject.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
protected DeletionException(
SerializationInfo info,
StreamingContext context
)
protected:
DeletionException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> DeletionException
protected function DeletionException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoA message describing the exception.
context
Type: System.Runtime.Serialization.StreamingContextThe context of the 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.