ProfileProvisionHostSiteException.GetObjectData Method
Sets the SerializationInfo object with information about the exception.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim instance As ProfileProvisionHostSiteException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
public override void GetObjectData(
SerializationInfo info,
StreamingContext context
)
Parameters
info
Type: System.Runtime.Serialization.SerializationInfoThe SerializationInfo that holds the serialized object data about the exception being thrown.
context
Type: System.Runtime.Serialization.StreamingContextThe StreamingContext that contains contextual information about the source or destination.
Remarks
This override adds the client message of the exception to the info.
See Also
Reference
ProfileProvisionHostSiteException Class