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.4.717.3176 (8.4.0717.3176)
Syntax
C#
public class CobraServices : IDisposable

The CobraServices type exposes the following members.

Constructors
  NameDescription
Public methodCobraServices(String)
Initialize a new instance of the CobraServices class.
Public methodCobraServices(ServiceIdentityData)
Initializes a new instance of the CobraServices class. This constructor is for internal Deltek use.
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 methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows 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 methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets 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 methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodVerifyIntegrity Obsolete.
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