RegisteredServerException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the RegisteredServerException class with the specified message and specified inner exception.
Namespace: Microsoft.SqlServer.Management.Smo.RegSvrEnum
Assembly: Microsoft.SqlServer.RegSvrEnum (in Microsoft.SqlServer.RegSvrEnum.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New RegisteredServerException(info, context)
protected RegisteredServerException(
SerializationInfo info,
StreamingContext context
)
protected:
RegisteredServerException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> RegisteredServerException
protected function RegisteredServerException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
A SerializationInfo value system object that specifies the serialization information for the Registered Server exception.
- context
Type: System.Runtime.Serialization.StreamingContext
An StreamingContext object that specifies the streaming context for the Registered Server exception.
See Also
Reference
RegisteredServerException Class