Service Stream Provider. Resolve Type Method
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.
Returns a namespace-qualified type name that represents the type that the data service runtime must create for the media link entry that is associated with the data stream for the media resource that is being inserted.
public: System::String ^ ResolveType(System::String ^ entitySetName, System::Data::Services::DataServiceOperationContext ^ operationContext);
public string ResolveType (string entitySetName, System.Data.Services.DataServiceOperationContext operationContext);
abstract member ResolveType : string * System.Data.Services.DataServiceOperationContext -> string
Public Function ResolveType (entitySetName As String, operationContext As DataServiceOperationContext) As String
Fully-qualified entity set name.
The DataServiceOperationContext instance that is used by the data service to process the request.
A namespace-qualified type name.
The ResolveType method is called by the data service when a new entity that is a media link entry is being created together with its media resource. An implementer of this method must inspect the request headers in
operationContext and return the namespace qualified type name that represents the type that the data service runtime must instantiate to create the media link entry that is associated with the new media resource. The string that represents this type name is passed to the CreateResource method to create the media link entry.
When you implement the GetWriteStream method, you should raise the following exceptions as indicated:
|DataServiceException||When an entity type name cannot be resolved based on the