DataGateCredentialExtensions.ThrowIfNotUserPassword Method
Definition
Namespace: ASNA.DataGate.Providers
Assembly: ASNA.QSys.DataGate.Client.dll
Throws an exception if the specified IDataGateCredential is not a UserPassword credential.
void ThrowIfNotUserPassword(IDataGateCredential dgc, UserPasswordCredential& upc)
Throws an exception if the specified IDataGateCredential is not a UserPassword credential.
void ThrowIfNotUserPassword(IDataGateCredential dgc, UserPasswordCredential& upc)
Parameters
| Type | Parameter name | Description |
|---|---|---|
| IDataGateCredential | dgc | The IDataGateCredential to check. |
| UserPasswordCredential& | upc | The UserPasswordCredential to check. |