C# Class Microsoft.Protocols.TestSuites.MS_ASCMD.AdapterHelper

The class provides the methods to assist MS-ASCMDAdapter.
Inheritance: Microsoft.Protocols.TestTools.ManagedAdapterBase
Afficher le fichier Open project: OfficeDev/Interop-TestSuites Class Usage Examples

Méthodes publiques

Méthode Description
GetStatusFromResponses ( object response ) : byte

Get the ASCMD Status from Response.

GetValidateCertStatusCode ( ValidateCertResponse response ) : string

Get ValidateCert response status code returned by the ValidateCert operation.

PickUpRootStatusValueFromXMLString ( string responsexmlString ) : byte

Pick up the Status value from the XMLString of response.

ValidStatus ( string statusValues ) : string[]

Get an array of the possible status codes for a command.

Method Details

GetStatusFromResponses() public méthode

Get the ASCMD Status from Response.
public GetStatusFromResponses ( object response ) : byte
response object ASCMD command responses.
Résultat byte

GetValidateCertStatusCode() public static méthode

Get ValidateCert response status code returned by the ValidateCert operation.
public static GetValidateCertStatusCode ( ValidateCertResponse response ) : string
response ValidateCertResponse The data of ValidateCert response.
Résultat string

PickUpRootStatusValueFromXMLString() public static méthode

Pick up the Status value from the XMLString of response.
public static PickUpRootStatusValueFromXMLString ( string responsexmlString ) : byte
responsexmlString string Response xml String.
Résultat byte

ValidStatus() public static méthode

Get an array of the possible status codes for a command.
public static ValidStatus ( string statusValues ) : string[]
statusValues string The status codes for a specific command.
Résultat string[]