DotNetDupe
4.0.6
C++17/20 Implementation of the .NET Base Class Library (BCL)
Toggle main menu visibility
Loading...
Searching...
No Matches
SocketException.cpp
Go to the documentation of this file.
1
#include "
pch.h
"
2
#include "
System/Net/Sockets/SocketException.h
"
3
4
namespace
DotNetDupe
{
5
namespace
System
{
6
namespace
Net
{
7
namespace
Sockets
{
8
SocketException::SocketException
(
int
errorCode,
const
String
& message)
9
:
SystemException
(message) {
11
m_errorCode = errorCode;
12
}
13
14
int
SocketException::GetErrorCode
()
const
{
16
return
m_errorCode;
17
}
18
}
19
}
20
}
21
}
SocketException.h
Exception thrown when a network socket error occurs per RFC 793 / RFC 768.
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
pch.h
DotNetDupe
SocketException.cpp
Generated by
1.18.0