23 references to Trace
System.Data.Services (23)
System\Data\Services\Error.cs (23)
27
return
Trace
(new DataServiceException(errorCode, message));
34
return
Trace
(DataServiceException.CreateBadRequestError(Strings.DataService_InvalidContentTypeForBatchRequest));
42
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_ContentExpected(state.ToString())));
50
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_ContentUnexpected(state.ToString())));
57
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_GetMethodNotSupportedInChangeset));
64
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidBatchFormat));
72
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidDelimiter(delimiter)));
79
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_MissingEndChangesetDelimiter));
87
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidHeaderValueSpecified(headerValue)));
95
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidContentLengthSpecified(contentLength)));
102
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_OnlyGETOperationsCanBeSpecifiedInBatch));
109
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidOperationHeaderSpecified));
117
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidHttpMethodName(methodName)));
124
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_MoreDataAfterEndOfBatch));
131
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InternalBufferRequestTooSmall));
139
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidMethodHeaderSpecified(header)));
148
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidHttpVersionSpecified(actualVersion, expectedVersion)));
157
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidNumberOfHeadersAtOperationStart(header1, header2)));
166
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_MissingOrInvalidContentEncodingHeader(headerName, headerValue)));
175
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidNumberOfHeadersAtChangeSetStart(header1, header2)));
183
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_MissingContentTypeHeader(headerName)));
194
return
Trace
(DataServiceException.CreateBadRequestError(Strings.BatchStream_InvalidContentTypeSpecified(headerName, headerValue, mime1, mime2)));
203
throw
Trace
(new ObjectDisposedException(type.ToString()));