ResultSnippet.AddWarning Method (String)

Applies To: Windows 8.1

Creates an ErrorWarning object for use by the ResultSnippet object.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Dim instance As ResultSnippet
Dim message As String
Dim returnValue As ErrorWarning

returnValue = instance.AddWarning(message)

public ErrorWarning AddWarning (
	string message
public ErrorWarning AddWarning (
	String message
public function AddWarning (
	message : String
) : ErrorWarning



The message text.

Return Value

Returns ErrorWarning.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows 8.1