UnexpectedLengthPrefixValueException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
UnexpectedLengthPrefixValueException(String) |
Initializes a new instance of the UnexpectedLengthPrefixValueException class. |
UnexpectedLengthPrefixValueException(String, UInt32, UInt32) |
Initializes a new instance of the UnexpectedLengthPrefixValueException class. |
UnexpectedLengthPrefixValueException(String)
Initializes a new instance of the UnexpectedLengthPrefixValueException class.
public UnexpectedLengthPrefixValueException (string message);
new Orleans.Serialization.UnexpectedLengthPrefixValueException : string -> Orleans.Serialization.UnexpectedLengthPrefixValueException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error.
Applies to
UnexpectedLengthPrefixValueException(String, UInt32, UInt32)
Initializes a new instance of the UnexpectedLengthPrefixValueException class.
public UnexpectedLengthPrefixValueException (string typeName, uint expectedLength, uint actualLength);
new Orleans.Serialization.UnexpectedLengthPrefixValueException : string * uint32 * uint32 -> Orleans.Serialization.UnexpectedLengthPrefixValueException
Public Sub New (typeName As String, expectedLength As UInteger, actualLength As UInteger)
Parameters
- typeName
- String
Name of the type.
- expectedLength
- UInt32
The expected length.
- actualLength
- UInt32
The actual length.