Share via


LargeListContextInformation.GenerateMessageText method

This member is reserved for internal use and is not intended to be used directly from your code. Generates large list operation throttling messages.

Namespace:  Microsoft.Office.Server.WebControls
Assembly:  Microsoft.Office.DocumentManagement (in Microsoft.Office.DocumentManagement.dll)

Syntax

'Declaration
Public Function GenerateMessageText As String
'Usage
Dim instance As LargeListContextInformation
Dim returnValue As String

returnValue = instance.GenerateMessageText()
public string GenerateMessageText()

Return value

Type: System.String
The String object that represents the warning message shown when a user performs a large list operation.

Remarks

If performing large list operations is not allowed in the current context, this method returns the message, “These operations are not allowed because this list is large. Contact your administrator for permissions or a service window to perform this operation.” If performing large list operations is allowed and the list is throttled, the method returns the message, “This list is large and these operations may take a long time and consume system resources.”

See also

Reference

LargeListContextInformation class

LargeListContextInformation members

Microsoft.Office.Server.WebControls namespace