You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a need to submit a raw friendly message that is not string.formattable. To do so, please add another constructor:
public WebException(HttpStatusCode status, string friendyMessage) :
base(friendyMessage)
{
Status = status;
}
Therefore, if there are no parameters, the string.format() method is never called and the friendly message can contain any combination of braces such as JavaScript code.
The text was updated successfully, but these errors were encountered:
There is a need to submit a raw friendly message that is not string.formattable. To do so, please add another constructor:
public WebException(HttpStatusCode status, string friendyMessage) :
base(friendyMessage)
{
Status = status;
}
Therefore, if there are no parameters, the string.format() method is never called and the friendly message can contain any combination of braces such as JavaScript code.
The text was updated successfully, but these errors were encountered: