Partager via


ConnectorFactory Class

 

Represents a factory that is used to create a ProviderConnector<T>.

Namespace:   Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly:  ProviderFramework (in ProviderFramework.dll)

Inheritance Hierarchy

System.Object
  Microsoft.WindowsServerSolutions.Common.ProviderFramework.ConnectorFactory

Syntax

public static class ConnectorFactory
public ref class ConnectorFactory abstract sealed 
Public NotInheritable Class ConnectorFactory

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static GetConnector<T>()

Returns a ProviderConnector<T> object for the default provider.

System_CAPS_pubmethodSystem_CAPS_static GetConnector<T>(Object)

Returns a ProviderConnector<T> object with the specified callback object for the default provider.

System_CAPS_pubmethodSystem_CAPS_static GetConnector<T>(String)

Returns a ProviderConnector<T> object for a provider with the specified identifier.

System_CAPS_pubmethodSystem_CAPS_static GetConnector<T>(String, Object)

Returns a ProviderConnector<T> object with the specified callback for the provider with the specified identifier.

System_CAPS_pubmethodSystem_CAPS_static GetConnectorCollection<T>()

Returns a collection of connectors for a contract on the local computer.

System_CAPS_pubmethodSystem_CAPS_static GetServerConnector<T>()

Returns a ProviderConnector<T> object for the default provider.

System_CAPS_pubmethodSystem_CAPS_static GetServerConnector<T>(Object)

Returns a ProviderConnector<T> object with the specified callback object for the default provider.

System_CAPS_pubmethodSystem_CAPS_static GetServerConnector<T>(String)

Returns a ProviderConnector<T> object for the provider with the specified identifier.

System_CAPS_pubmethodSystem_CAPS_static GetServerConnector<T>(String, Object)

Returns a ProviderConnector<T> object with the specified callback object for the provider with the specified identifier.

System_CAPS_pubmethodSystem_CAPS_static GetServerConnector<T>(String, Object, NetworkCredential)

Returns a ProviderConnector<T> object with the specified callback object and credentials for the provider with the specified identifier.

System_CAPS_pubmethodSystem_CAPS_static GetServerConnectorCollection<T>()

Returns a collection of connectors for a contract on the server.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace

Return to top