Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
◆
Host
string
? System.Net.Mail.SmtpClient.Host
get
set
Definition at line
70
of file
SmtpClient.cs
.
71
{
72
get
73
{
74
return
_host
;
75
}
76
[param: DisallowNull]
77
set
78
{
79
if
(
InCall
)
80
{
81
throw
new
InvalidOperationException
(
System
.
SR
.
SmtpInvalidOperationDuringSend
);
82
}
83
if
(
value
==
null
)
84
{
85
throw
new
ArgumentNullException(
"value"
);
86
}
87
if
(
value
.Length == 0)
88
{
89
throw
new
ArgumentException
(
System
.
SR
.
net_emptystringset
,
"value"
);
90
}
91
value
=
value
.Trim();
92
if
(
value
!=
_host
)
93
{
94
_host
=
value
;
95
_servicePoint
=
null
;
96
}
97
}
98
}
System.Net.Mail.SmtpClient._host
string _host
Definition
SmtpClient.cs:20
System.Net.Mail.SmtpClient.InCall
bool InCall
Definition
SmtpClient.cs:252
System.Net.Mail.SmtpClient._servicePoint
ServicePoint _servicePoint
Definition
SmtpClient.cs:62
System.SR.SmtpInvalidOperationDuringSend
static string SmtpInvalidOperationDuringSend
Definition
SR.cs:90
System.SR.net_emptystringset
static string net_emptystringset
Definition
SR.cs:20
System.SR
Definition
SR.cs:7
System.Transactions.TransactionExceptionType.InvalidOperationException
@ InvalidOperationException
System.Xml.ExceptionType.ArgumentException
@ ArgumentException
System.ExceptionArgument.value
@ value
System
Definition
BlockingCollection.cs:8
Referenced by
System.Net.Mail.SmtpClient.SendAsync()
.
System
Net
Mail
SmtpClient
Generated by
1.10.0