NativeMethods.CredUIPromptForWindowsCredentials, méthode
Ce type a un attribut SecurityCriticalAttribute, qui le limite à un usage interne par la bibliothèque de classes .NET Framework pour Silverlight. Un code d'application qui utilise un membre de ce type lève une exception MethodAccessException.
Espace de noms : Microsoft.TeamFoundation.Common.Internal
Assembly : Microsoft.TeamFoundation.Common (dans Microsoft.TeamFoundation.Common.dll)
Syntaxe
'Déclaration
Public Shared Function CredUIPromptForWindowsCredentials ( _
ByRef pUiInfo As NativeMethods.CREDUI_INFO, _
dwAuthError As Integer, _
ByRef pulAuthPackage As UInteger, _
pvInAuthBuffer As Byte(), _
ulInAuthBufferSize As UInteger, _
<OutAttribute> ByRef ppvOutAuthBuffer As IntPtr, _
<OutAttribute> ByRef pulOutAuthBufferSize As UInteger, _
ByRef pfSave As Boolean, _
dwFlags As Integer _
) As Integer
public static int CredUIPromptForWindowsCredentials(
ref NativeMethods.CREDUI_INFO pUiInfo,
int dwAuthError,
ref uint pulAuthPackage,
byte[] pvInAuthBuffer,
uint ulInAuthBufferSize,
out IntPtr ppvOutAuthBuffer,
out uint pulOutAuthBufferSize,
ref bool pfSave,
int dwFlags
)
Paramètres
- dwAuthError
Type : System.Int32
- pulAuthPackage
Type : System.UInt32%
- pvInAuthBuffer
Type : array<System.Byte[]
- ulInAuthBufferSize
Type : System.UInt32
- ppvOutAuthBuffer
Type : System.IntPtr%
- pulOutAuthBufferSize
Type : System.UInt32%
- pfSave
Type : System.Boolean%
- dwFlags
Type : System.Int32
Valeur de retour
Type : System.Int32