Service Stream Provider. Delete Stream 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.
Deletes the associated media resource when a media link entry is deleted.
public: void DeleteStream(System::Object ^ entity, System::Data::Services::DataServiceOperationContext ^ operationContext);
public void DeleteStream (object entity, System.Data.Services.DataServiceOperationContext operationContext);
abstract member DeleteStream : obj * System.Data.Services.DataServiceOperationContext -> unit
Public Sub DeleteStream (entity As Object, operationContext As DataServiceOperationContext)
The media link entry that is deleted.
The DataServiceOperationContext instance that processes the request.
entity is not an entity that has a binary property to stream.
When the stream associated with the
entity cannot be deleted.
The DeleteStream method provides the implementation to delete a media resource when its associated media link entry is deleted from the data service. For more information, see Streaming Provider.