ShareFileModifiedException Class

Definition

An exception thrown if Stream returned from ShareFileClient.OpenRead or ShareFileClient.OpenReadAsync observed that a file content has been modified during the read.

[System.Serializable]
public class ShareFileModifiedException : Exception
[<System.Serializable>]
type ShareFileModifiedException = class
    inherit Exception
    interface ISerializable
Public Class ShareFileModifiedException
Inherits Exception
Inheritance
ShareFileModifiedException
Attributes
Implements

Constructors

ShareFileModifiedException(SerializationInfo, StreamingContext)

Initializes a new instance of the Exception class with serialized data.

ShareFileModifiedException(String, Uri, ETag, ETag, HttpRange)

Creates a new instance of ShareFileModifiedException.

Properties

ActualETag

Gets the ETag value that was received from the service.

ExpectedETag

Gets the ETag value that was expected during the read.

Range

Gets the range that was requested for the service.

ResourceUri

Gets the URI of the resurce that has been modified.

Methods

GetObjectData(SerializationInfo, StreamingContext)

When overridden in a derived class, sets the SerializationInfo with information about the exception.

Applies to