PolicyResourceNotEnabledException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the PolicyResourceNotEnabledException class with serialized data.
Namespace: Microsoft.Office.RecordsManagement.PolicyFeatures
Assembly: Microsoft.Office.Policy (in Microsoft.Office.Policy.dll)
Syntax
'Declaration
Public Sub New ( _
si As SerializationInfo, _
sc As StreamingContext _
)
'Usage
Dim si As SerializationInfo
Dim sc As StreamingContext
Dim instance As New PolicyResourceNotEnabledException(si, sc)
public PolicyResourceNotEnabledException(
SerializationInfo si,
StreamingContext sc
)
Parameters
si
Type: System.Runtime.Serialization.SerializationInfoThe SerializationInfo object that holds the serialized object data about the exception being thrown.
sc
Type: System.Runtime.Serialization.StreamingContextThe StreamingContext object that contains contextual information about the source or destination of the serialized object data stream.
See Also
Reference
PolicyResourceNotEnabledException Class
PolicyResourceNotEnabledException Members