DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
SocketException.h
Go to the documentation of this file.
1
3
4
#pragma once
5
6
#include "
Common.h
"
7
#include "
System/SystemException.h
"
8
9
namespace
DotNetDupe
{
10
namespace
System
{
11
namespace
Net
{
12
namespace
Sockets
{
13
19
class
SocketException
:
public
SystemException
{
20
private
:
21
int
m_errorCode;
22
23
public
:
27
DOTNETDUPE_API
SocketException
(
int
errorCode,
const
String
& message);
28
31
DOTNETDUPE_API
int
GetErrorCode
()
const
;
32
};
33
34
}
35
}
36
}
37
}
Common.h
Defines common cross-platform macros, export decorators, and fundamental types.
DOTNETDUPE_API
#define DOTNETDUPE_API
Platform-specific linkage decoration for exporting or importing library symbols.
Definition
Common.h:20
SystemException.h
Serves as the base class for system exceptions across the library.
DotNetDupe::System::Net::Sockets::SocketException::GetErrorCode
int GetErrorCode() const
Gets the error code associated with this exception.
Definition
SocketException.cpp:14
DotNetDupe::System::Net::Sockets::SocketException::SocketException
SocketException(int errorCode, const String &message)
Initializes a new instance of the SocketException class with the specified error code and message.
Definition
SocketException.cpp:8
DotNetDupe::System::String
Represents text as a sequence of UTF-8 code units with culture-invariant operations.
Definition
String.h:74
DotNetDupe::System::SystemException::SystemException
SystemException()
Initializes a new instance of the SystemException class with a default message.
Definition
Exception.cpp:48
DotNetDupe::System::Net::Sockets
Definition
HttpClient.h:20
DotNetDupe::System::Net
Definition
Dns.h:13
DotNetDupe::System
Definition
Action.h:11
DotNetDupe
Definition
IServiceCollection.h:7
Include
System
Net
Sockets
SocketException.h
Generated by
1.18.0