ClmValidationRegularExpressionException.GetObjectData Method
Gets the data that is associated with the validation exception.
Namespace: Microsoft.Clm.Shared
Assembly: Microsoft.Clm.Shared (in microsoft.clm.shared.dll)
Syntax
'Declaration
<SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter:=True)> _
Public Overrides Sub GetObjectData ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim instance As ClmValidationRegularExpressionException
Dim info As SerializationInfo
Dim context As StreamingContext
instance.GetObjectData(info, context)
[SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true)]
public override void GetObjectData (
SerializationInfo info,
StreamingContext context
)
[SecurityPermissionAttribute(SecurityAction::Demand, SerializationFormatter=true)]
public:
virtual void GetObjectData (
SerializationInfo^ info,
StreamingContext context
) override
/** @attribute SecurityPermissionAttribute(SecurityAction.Demand, SerializationFormatter=true) */
public void GetObjectData (
SerializationInfo info,
StreamingContext context
)
public override function GetObjectData (
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
A SerializationInfo object that is set with the serialized object data that describes the validation exception.
- context
A StreamingContext structure that describes the source and destination of the serialized stream, and provides any additional caller-defined context.
Remarks
This method sets the SerializationInfo object that is passed in the info parameter with information about the exception.
Platforms
Windows XP SP2, Windows Server 2003 SP1
See Also
Reference
ClmValidationRegularExpressionException Class
ClmValidationRegularExpressionException Members
Microsoft.Clm.Shared Namespace
.gif)
Send comments about this topic to Microsoft.
© 2007 Microsoft Corporation. All rights reserved.