CredentialInfoEventArgs Class

 

Provides data for an event handler regarding the acquisition of credentials.

Namespace:   Microsoft.Web.Management.Client
Assembly:  Microsoft.Web.Management (in Microsoft.Web.Management.dll)

System.Object
  System.EventArgs
    System.ComponentModel.CancelEventArgs
      Microsoft.Web.Management.Client.CredentialInfoEventArgs

[SecurityPermissionAttribute(SecurityAction.Demand, Flags = SecurityPermissionFlag.UnmanagedCode)]
public sealed class CredentialInfoEventArgs : CancelEventArgs

NameDescription
System_CAPS_pubmethodCredentialInfoEventArgs(CredentialInfo)

Initializes a new instance of the CredentialInfoEventArgs class.

NameDescription
System_CAPS_pubpropertyCancel

(Inherited from CancelEventArgs.)

System_CAPS_pubpropertyCredentials

Gets the credential information that is passed to the CredentialInfoEventArgs constructor.

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Object.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodToString()

(Inherited from Object.)

Use this class to cancel events that require a CredentialInfo object.

The following example authenticates the user name and password.

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

Return to top
Show: