LeaseCannotBeAcquiredException Constructors
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.
Overloads
LeaseCannotBeAcquiredException() |
Initializes a new instance of the LeaseCannotBeAcquiredException class using default values. |
LeaseCannotBeAcquiredException(Lease) |
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified lease. |
LeaseCannotBeAcquiredException(String) |
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified error message. |
LeaseCannotBeAcquiredException(Lease, Exception) |
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified lease and the error that caused the exception. |
LeaseCannotBeAcquiredException(SerializationInfo, StreamingContext) |
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified information and context. |
LeaseCannotBeAcquiredException(String, Exception) |
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified error message and inner exception. |
LeaseCannotBeAcquiredException()
Initializes a new instance of the LeaseCannotBeAcquiredException class using default values.
public LeaseCannotBeAcquiredException ();
Public Sub New ()
Applies to
LeaseCannotBeAcquiredException(Lease)
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified lease.
public LeaseCannotBeAcquiredException (Microsoft.ServiceBus.Messaging.Lease lease);
new Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException : Microsoft.ServiceBus.Messaging.Lease -> Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException
Public Sub New (lease As Lease)
Parameters
- lease
- Lease
The messaging lease.
Applies to
LeaseCannotBeAcquiredException(String)
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified error message.
public LeaseCannotBeAcquiredException (string message);
new Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException : string -> Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException
Public Sub New (message As String)
Parameters
- message
- String
The message associated with the error.
Applies to
LeaseCannotBeAcquiredException(Lease, Exception)
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified lease and the error that caused the exception.
public LeaseCannotBeAcquiredException (Microsoft.ServiceBus.Messaging.Lease lease, Exception innerException);
new Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException : Microsoft.ServiceBus.Messaging.Lease * Exception -> Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException
Public Sub New (lease As Lease, innerException As Exception)
Parameters
- lease
- Lease
The messaging lease.
- innerException
- Exception
The error that caused the exception.
Applies to
LeaseCannotBeAcquiredException(SerializationInfo, StreamingContext)
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified information and context.
protected LeaseCannotBeAcquiredException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
Parameters
- info
- SerializationInfo
The serialized information about the exception.
- context
- StreamingContext
The contextual information about the source or destination.
Applies to
LeaseCannotBeAcquiredException(String, Exception)
Initializes a new instance of the LeaseCannotBeAcquiredException class using specified error message and inner exception.
public LeaseCannotBeAcquiredException (string message, Exception innerException);
new Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException : string * Exception -> Microsoft.ServiceBus.Messaging.LeaseCannotBeAcquiredException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The message associated with the error.
- innerException
- Exception
The error that caused the exception.
Applies to
Azure SDK for .NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기