Specified a presentation context for a DICOM method. Multiple attributes can be specified for a method.
[AttributeUsageAttribute(ValidOn=AttributeTargets.Method,AllowMultiple=true,Inherited=true)]public class PresentationContextAttribute : System.Attribute, System.Runtime.InteropServices._Attribute
<AttributeUsageAttribute(ValidOn=AttributeTargets.Method,AllowMultiple=True,Inherited=True)>Public Class PresentationContextAttributeInherits System.AttributeImplements System.Runtime.InteropServices._Attribute
[AttributeUsageAttribute(ValidOn=AttributeTargets.Method,AllowMultiple=true,Inherited=true)]public ref class PresentationContextAttribute : public System.Attribute, System.Runtime.InteropServices._Attribute
Shows attribute usage on an interface.
Imports Leadtools.Dicom.AddIn.AttributesImports Leadtools.Dicom.AddIn.InterfacesImports Leadtools.DicomImports Leadtools.Dicom.AddIn<DicomAddInAttribute("Storage Commit AddIn", "1.0.0.0", Description := "Implements Storage Commitment", Author := "")> _Public Class StorageCommitAddin : Implements IProcessNAction#Region "IProcessNAction Members"<PresentationContext(DicomUidType.StorageCommitmentPushModelClass, DicomUidType.ImplicitVRLittleEndian)> _Public Function OnNAction(ByVal Client As DicomClient, ByVal PresentationId As Byte, ByVal MessageId As Integer, ByVal AffectedClass As String, _ByVal Instance As String, ByVal Action As Integer, ByVal Request As DicomDataSet, ByVal Response As DicomDataSet) As _DicomCommandStatusType Implements IProcessNAction.OnNActionReturn DicomCommandStatusType.SuccessEnd Function#End Region#Region "IProcessBreak Members"Public Sub Break(ByVal type As BreakType) Implements IProcessNAction.BreakEnd Sub#End RegionEnd Class
using Leadtools.Dicom.AddIn.Attributes;using Leadtools.Dicom.AddIn.Interfaces;using Leadtools.Dicom;using Leadtools.Dicom.AddIn;[DicomAddInAttribute("Storage Commit AddIn", "1.0.0.0", Description = "Implements Storage Commitment", Author = "")]public class StorageCommitAddin : IProcessNAction{#region IProcessNAction Members[PresentationContext(DicomUidType.StorageCommitmentPushModelClass, DicomUidType.ImplicitVRLittleEndian)]public DicomCommandStatusType OnNAction(DicomClient Client, byte PresentationId, int MessageId, string AffectedClass, string Instance, int Action, DicomDataSet Request, DicomDataSet Response){return DicomCommandStatusType.Success;}#endregion#region IProcessBreak Memberspublic void Break(BreakType type){}#endregion}
|
Products |
Support |
Feedback: PresentationContextAttribute Class - Leadtools.Dicom.AddIn |
Introduction |
Help Version 19.0.2017.3.22
|

Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.