Share via


ODataBatchReader.ThrowODataException(String) Method

Definition

Sets the 'Exception' state and then throws an ODataException with the specified error message.

protected void ThrowODataException (string errorMessage);
member this.ThrowODataException : string -> unit
Protected Sub ThrowODataException (errorMessage As String)

Parameters

errorMessage
String

The error message for the exception.

Applies to