IDocumentDatabase.GetDocumentReader<TDocument>(TableOptions) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a document reader for the specified table and document type.
public:
generic <typename TDocument>
System::Cloud::DocumentDb::IDocumentReader<TDocument> ^ GetDocumentReader(System::Cloud::DocumentDb::TableOptions ^ options);
public System.Cloud.DocumentDb.IDocumentReader<TDocument> GetDocumentReader<TDocument>(System.Cloud.DocumentDb.TableOptions options);
abstract member GetDocumentReader : System.Cloud.DocumentDb.TableOptions -> System.Cloud.DocumentDb.IDocumentReader<'Document>
Public Function GetDocumentReader(Of TDocument) (options As TableOptions) As IDocumentReader(Of TDocument)
Type Parameters
- TDocument
The document entity type to be used as a table schema. The results of the request are mapped to an instance of this type.
Parameters
- options
- TableOptions
The table options.
Returns
The document reader.
Exceptions
An error occurred on the client side, for example, on a bad request, permissions error, or client timeout.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.