22 references to StatusCode
System (22)
net\System\Net\mail\SmtpCommands.cs (5)
50
return info.
StatusCode
;
100
return info.
StatusCode
;
372
if (lines[0].
StatusCode
!= SmtpStatusCode.Ok)
374
if((int)lines[0].
StatusCode
< 400){
378
throw new SmtpException(lines[0].
StatusCode
, lines[0].Line, true);
net\System\Net\mail\smtpconnection.cs (17)
356
switch (info.
StatusCode
)
364
throw new SmtpException(info.
StatusCode
, info.Line, true);
445
if (info.
StatusCode
== SmtpStatusCode.CommandParameterNotImplemented)
450
while ((int)info.
StatusCode
== 334)
459
if ((int)info.
StatusCode
== 235)
727
if (info.
StatusCode
!= SmtpStatusCode.ServiceReady)
729
throw new SmtpException(info.
StatusCode
, info.Line, true);
757
if (info.
StatusCode
!= SmtpStatusCode.ServiceReady)
759
thisPtr.InvokeCallback(new SmtpException(info.
StatusCode
, info.Line, true));
995
if ((int)info.
StatusCode
== 334)
1003
else if ((int)info.
StatusCode
== 235)
1031
if ((int)info.
StatusCode
== 334)
1039
else if ((int)info.
StatusCode
== 235)
1075
if ((int)info.
StatusCode
== 235)
1082
else if ((int)info.
StatusCode
!= 334)
1098
if ((int)info.
StatusCode
== 235)
1105
else if ((int)info.
StatusCode
== 334)