Click or drag to resize

CobraServices Class

Provides mechanism to consume the Cobra Web Service Host.
Inheritance Hierarchy
SystemObject
  Cobra.WebService.ClientAPI.ClientCobraServices

Namespace: Cobra.WebService.ClientAPI.Client
Assembly: Cobra.WebService.ClientAPI (in Cobra.WebService.ClientAPI.dll) Version: 8.5.700.3359 (8.5.0700.3359)
Syntax
C#
public class CobraServices : IDisposable

The CobraServices type exposes the following members.

Constructors
 NameDescription
Public methodCobraServices(ServiceIdentityData) Initializes a new instance of the CobraServices class. This constructor is for internal Deltek use.
Public methodCobraServices(String) Initialize a new instance of the CobraServices class.
Public methodCobraServices(String, ServiceIdentityData) Initializes a new instance of the CobraServices class. This constructor is for internal Delte use.
Top
Properties
 NameDescription
Public propertyServiceIdentityData Gets the ServiceIdentityData object that you can use to set the information of the Cobra user.
Public propertyState Gets the service state.
Top
Methods
 NameDescription
Public methodAbout About Cobra Web Service
Public methodCreateCobraServicesServiceArgumentsTCobraServicesServiceArguments Creates an instance of TCobraServicesServiceArguments class.
Public methodCreateServiceOperationsTServiceOperations Creates an instance of TServiceOperations class.
Protected methodDispose Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodCode exampleGetEnvironmentDetails GetEnvironmentDetails Cobra Web Service
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodLogin Login to Cobra and transition state to the Opened state.
Public methodLogout Log out to Cobra and transition state to Closed state.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodVerifyIntegrityObsolete.
Verify the integrity of Cobra.
Public methodCode exampleVerifyIntegrity(VerifyIntegrityServiceArguments) Verify the integrity of Cobra.
Top
Events
 NameDescription
Public eventClosed Occurs when the service state transitioned into Clsoed state.
Public eventClosing Occurs when the service state transitioned into Closing state.
Public eventFaulted Occurs when the service state transitioned into Faulted state.
Public eventOpened Occurs when the service state transitioned into Opened state.
Public eventOpening Occurs when the service state transitioned into Opening state.
Top
See Also