PolicyFeatureNotEnabledException constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the PolicyFeatureNotEnabledException 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 PolicyFeatureNotEnabledException(si, sc)
public PolicyFeatureNotEnabledException(
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
PolicyFeatureNotEnabledException class
PolicyFeatureNotEnabledException members