ConnectorFactory.GetServerConnector<T> Method (Object)
Returns a ProviderConnector<T> object with the specified callback object for the default provider.
Namespace: Microsoft.WindowsServerSolutions.Common.ProviderFramework
Assembly: ProviderFramework (in ProviderFramework.dll)
Syntax
public static ProviderConnector<T> GetServerConnector<T>(
object callback
)
where T : class
public:
generic<typename T>
where T : ref class
static ProviderConnector<T>^ GetServerConnector(
Object^ callback
)
Public Shared Function GetServerConnector(Of T As Class) (
callback As Object
) As ProviderConnector(Of T)
Parameters
callback
Type: System.ObjectThe callback object that is associated with the ProviderConnector<T> object.
Return Value
Type: Microsoft.WindowsServerSolutions.Common.ProviderFramework.ProviderConnector<T>
An instance of ProviderConnector<T> that has not started a connection.
Type Parameters
- T
Represents the contract type.
See Also
GetServerConnector Overload
ConnectorFactory Class
Microsoft.WindowsServerSolutions.Common.ProviderFramework Namespace
Return to top