C# Class Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2.OPLOCK_BREAK_Notification_Packet

The SMB2 OPLOCK_BREAK Notification Packet is sent by the server when the underlying object store indicates that an opportunistic lock (oplock) is being broken, representing a change in the oplock level. This response is composed of an SMB2 header, as specified in section , followed by this notification structure:
Afficher le fichier Open project: Microsoft/WindowsProtocolTestSuites Class Usage Examples

Méthodes publiques

Свойство Type Description
OplockLevel OPLOCK_BREAK_Notification_Packet_OplockLevel_Values
Reserved OPLOCK_BREAK_Notification_Packet_Reserved_Values

Property Details

OplockLevel public_oe property

The server MUST set this to the maximum value of the OplockLevel that the server will accept for an acknowledgment from the client. Because SMB2_OPLOCK_LEVEL_BATCH is the highest oplock level, and it is being broken to a lower level, the server will never send a break from SMB2_OPLOCK_LEVEL_BATCH to SMB2_OPLOCK_LEVEL_BATCH. Thus this field MUST contain one of the following values:-based clients never use exclusive oplocks. Because there are no situations where it would want an exclusive oplock where it would not also want an SMB2_OPLOCK_LEVEL_BATCH, it always requests an SMB2_OPLOCK_LEVEL_BATCH.
public OPLOCK_BREAK_Notification_Packet_OplockLevel_Values OplockLevel
Résultat OPLOCK_BREAK_Notification_Packet_OplockLevel_Values

Reserved public_oe property

Unused at the present and MUST be treated as reserved. The server MUST set this to 0, and the client MUST ignore it on receipt.
public OPLOCK_BREAK_Notification_Packet_Reserved_Values Reserved
Résultat OPLOCK_BREAK_Notification_Packet_Reserved_Values