Table of Contents

Class Win32Exception

Namespace
MongoDB.Driver.Core.Authentication.Sspi
Assembly
MongoDB.Driver.Core.dll

Thrown from a win32 wrapped operation.

[Serializable]
public class Win32Exception : GssapiException, ISerializable
Inheritance
Win32Exception
Implements
Inherited Members

Constructors

Win32Exception(long)

Initializes a new instance of the Win32Exception class.

public Win32Exception(long errorCode)

Parameters

errorCode long

The error code.

Win32Exception(long, string)

Initializes a new instance of the Win32Exception class.

public Win32Exception(long errorCode, string message)

Parameters

errorCode long

The error code.

message string

The message.

Win32Exception(SerializationInfo, StreamingContext)

Initializes a new instance of the Win32Exception class.

protected Win32Exception(SerializationInfo info, StreamingContext context)

Parameters

info SerializationInfo

The info.

context StreamingContext

The context.