共用方式為


PSContextInfo 建構函式 (Boolean, String, Guid, Guid, Guid, Int32, CultureInfo, CultureInfo, Guid, String)

命名空間:  Microsoft.Office.Project.Server.Library
組件:  Microsoft.Office.Project.Server.Library (在 Microsoft.Office.Project.Server.Library.dll 中)

語法

'宣告
Public Sub New ( _
    isWindowsUser As Boolean, _
    userName As String, _
    userGuid As Guid, _
    trackingGuid As Guid, _
    siteGuid As Guid, _
    urlZone As Integer, _
    languageCulture As CultureInfo, _
    localeCulture As CultureInfo, _
    delegateGuid As Guid, _
    delegateName As String _
)
'用途
Dim isWindowsUser As Boolean
Dim userName As String
Dim userGuid As Guid
Dim trackingGuid As Guid
Dim siteGuid As Guid
Dim urlZone As Integer
Dim languageCulture As CultureInfo
Dim localeCulture As CultureInfo
Dim delegateGuid As Guid
Dim delegateName As String

Dim instance As New PSContextInfo(isWindowsUser, _
    userName, userGuid, trackingGuid, _
    siteGuid, urlZone, languageCulture, _
    localeCulture, delegateGuid, delegateName)
public PSContextInfo(
    bool isWindowsUser,
    string userName,
    Guid userGuid,
    Guid trackingGuid,
    Guid siteGuid,
    int urlZone,
    CultureInfo languageCulture,
    CultureInfo localeCulture,
    Guid delegateGuid,
    string delegateName
)

參數

請參閱

參照

PSContextInfo 類別

PSContextInfo 成員

PSContextInfo 多載

Microsoft.Office.Project.Server.Library 命名空間