コード例 #1
0
 internal static InvalidOperationException BatchStreamContentUnexpected(BatchStreamState state)
 {
     return(InvalidOperation(Strings.BatchStream_ContentUnexpected(state.ToString())));
 }
コード例 #2
0
ファイル: Error.cs プロジェクト: dox0/DotNet471RS3
 /// <summary>create exception when unexpected content is discovered</summary>
 /// <param name="state">http method operation</param>
 /// <returns>exception to throw</returns>
 internal static DataServiceException BatchStreamContentUnexpected(BatchStreamState state)
 {
     return(Trace(DataServiceException.CreateBadRequestError(Strings.BatchStream_ContentUnexpected(state.ToString()))));
 }