SPWorkflowTaskProperties.OnBehalfReason property
Gets or sets a string that represents the reason for sending the email message.
Namespace: Microsoft.SharePoint.Workflow
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property OnBehalfReason As String
Get
Set
'Usage
Dim instance As SPWorkflowTaskProperties
Dim value As String
value = instance.OnBehalfReason
instance.OnBehalfReason = value
public string OnBehalfReason { get; set; }
Property value
Type: System.String
A string that represents the reason for sending an email message.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The value is not a null reference (Nothing in Visual Basic) and is larger than the text field. |
See also
Reference
SPWorkflowTaskProperties class