C# Class Microsoft.WindowsAzure.Management.Service.Gateway.GatewayManagementHelper

Show file Open project: OctopusDeploy/azure-sdk-tools Class Usage Examples

Public Methods

Method Description
CreateGatewayManagementChannel ( System.ServiceModel.Channels.Binding binding, Uri remoteUri, X509Certificate2 cert ) : IGatewayServiceManagement
TryGetExceptionDetails ( System.ServiceModel.CommunicationException exception, ServiceManagementError &errorDetails ) : bool
TryGetExceptionDetails ( System.ServiceModel.CommunicationException exception, ServiceManagementError &errorDetails, HttpStatusCode &httpStatusCode, string &operationId ) : bool

Method Details

CreateGatewayManagementChannel() public static method

public static CreateGatewayManagementChannel ( System.ServiceModel.Channels.Binding binding, Uri remoteUri, X509Certificate2 cert ) : IGatewayServiceManagement
binding System.ServiceModel.Channels.Binding
remoteUri System.Uri
cert System.Security.Cryptography.X509Certificates.X509Certificate2
return IGatewayServiceManagement

TryGetExceptionDetails() public static method

public static TryGetExceptionDetails ( System.ServiceModel.CommunicationException exception, ServiceManagementError &errorDetails ) : bool
exception System.ServiceModel.CommunicationException
errorDetails ServiceManagementError
return bool

TryGetExceptionDetails() public static method

public static TryGetExceptionDetails ( System.ServiceModel.CommunicationException exception, ServiceManagementError &errorDetails, HttpStatusCode &httpStatusCode, string &operationId ) : bool
exception System.ServiceModel.CommunicationException
errorDetails ServiceManagementError
httpStatusCode HttpStatusCode
operationId string
return bool