PostmarkDotNet.PostmarkClient.PostmarkClient C# (CSharp) Méthode

PostmarkClient() public méthode

Initializes a new instance of the PostmarkClient class. If you do not have a server token you can request one by signing up to use Postmark: http://postmarkapp.com.
public PostmarkClient ( string serverToken ) : System.Collections.Specialized
serverToken string The server token.
Résultat System.Collections.Specialized
        public PostmarkClient(string serverToken)
        {
            ServerToken = serverToken;
            _client = new RestClient
            {
                Authority = "https://api.postmarkapp.com"
            };
        }

Same methods

PostmarkClient::PostmarkClient ( ) : System.Collections.Specialized
PostmarkClient::PostmarkClient ( string serverToken, bool noSSL ) : System.Collections.Specialized
PostmarkClient::PostmarkClient ( string serverToken, int timeout ) : System.Collections.Specialized