Share via


ShareFileModifiedException Constructors

Definition

Overloads

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.

ShareFileModifiedException(SerializationInfo, StreamingContext)

Source:
ShareFileModifiedException.cs
Source:
ShareFileModifiedException.cs

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

protected ShareFileModifiedException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext streamingContext);
new Azure.Storage.Files.Shares.Models.ShareFileModifiedException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Azure.Storage.Files.Shares.Models.ShareFileModifiedException
Protected Sub New (info As SerializationInfo, streamingContext As StreamingContext)

Parameters

info
SerializationInfo

The SerializationInfo that holds the serialized object data about the exception being thrown.

streamingContext
StreamingContext

The StreamingContext that contains contextual information about the source or destination.

Exceptions

info is null.

The class name is null or HResult is zero (0).

Applies to

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

Source:
ShareFileModifiedException.cs
Source:
ShareFileModifiedException.cs

Creates a new instance of ShareFileModifiedException.

public ShareFileModifiedException (string message, Uri resourceUri, Azure.ETag expectedETag, Azure.ETag actualETag, Azure.HttpRange range);
new Azure.Storage.Files.Shares.Models.ShareFileModifiedException : string * Uri * Azure.ETag * Azure.ETag * Azure.HttpRange -> Azure.Storage.Files.Shares.Models.ShareFileModifiedException
Public Sub New (message As String, resourceUri As Uri, expectedETag As ETag, actualETag As ETag, range As HttpRange)

Parameters

message
String

The message that describes the error.

resourceUri
Uri

The URI of the resource that has been modified.

expectedETag
ETag

The ETag value that was expected during the read.

actualETag
ETag

The ETag value that was received from the service.

range
HttpRange

The range that was requested for the service.

Applies to