NativeMethods.CredUIPromptForWindowsCredentials メソッド

この型は SecurityCriticalAttribute 属性を持っているため、使用は .NET Framework for Silverlight クラス ライブラリでの内部用に限定されます。アプリケーション コードでこの型の任意のメンバーを使用すると、MethodAccessException 例外がスローされます。

名前空間:  Microsoft.TeamFoundation.Common.Internal
アセンブリ:  Microsoft.TeamFoundation.Common (Microsoft.TeamFoundation.Common.dll 内)

構文

'宣言
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
)

パラメーター

戻り値

型 : System.Int32

参照

関連項目

NativeMethods クラス

Microsoft.TeamFoundation.Common.Internal 名前空間