Initializes a new instance of the InvalidNameException class with serialized data.
Namespace:
IBM.CTGAssembly: IBM.CTG.Client (in IBM.CTG.Client.dll) Version: 1.0.0.0
Syntax
C# |
---|
protected InvalidNameException( SerializationInfo info, StreamingContext context ) |
Visual Basic (Declaration) |
---|
Protected Sub New ( _ info As SerializationInfo, _ context As StreamingContext _ ) |
Visual C++ |
---|
protected: InvalidNameException( SerializationInfo^ info, StreamingContext context ) |
Parameters
- info
- Type: System.Runtime.Serialization..::.SerializationInfo
The SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- Type: System.Runtime.Serialization..::.StreamingContext
The StreamingContext that contains contextual information about the source or destination.
Exceptions
Exception | Condition |
---|---|
System.Security..::.SecurityException | The caller does not have the required permission. |