WorkflowNotificationPublisher.PublishNotification 方法 (String, WorkflowNotification, ICredentials, String, Guid, TimeSpan)
將通知發行至指定的位址。
命名空間: Microsoft.Workflow.Client
組件: Microsoft.Workflow.Client (在 Microsoft.Workflow.Client.dll 中)
語法
public void PublishNotification(
string address,
WorkflowNotification notification,
ICredentials credentials,
string userCulture,
Guid traceActivityId,
TimeSpan requestTimeout
)
public:
void PublishNotification(
String^ address,
WorkflowNotification^ notification,
ICredentials^ credentials,
String^ userCulture,
Guid traceActivityId,
TimeSpan requestTimeout
)
member PublishNotification :
address:string *
notification:WorkflowNotification *
credentials:ICredentials *
userCulture:string *
traceActivityId:Guid *
requestTimeout:TimeSpan -> unit
Public Sub PublishNotification (
address As String,
notification As WorkflowNotification,
credentials As ICredentials,
userCulture As String,
traceActivityId As Guid,
requestTimeout As TimeSpan
)
參數
address
Type: System.String要發行至的位址。
notification
Type: Microsoft.Workflow.Client.WorkflowNotification要發行的通知。
credentials
Type: System.Net.ICredentials要使用的認證。
userCulture
Type: System.String使用者文化特性。
traceActivityId
Type: System.Guid追蹤活動識別碼。
requestTimeout
Type: System.TimeSpan要求的逾時。
請參閱
WorkflowNotificationPublisher 類別
Microsoft.Workflow.Client 命名空間
回到頁首