22 references to Operation
System.ServiceModel (22)
System\ServiceModel\Description\ClientClassGenerator.cs (2)
206
if (operationContext.
Operation
.IsServerInitiated()) continue;
223
GenerateClientClassMethod(clientType, contractTypeRef, operationContext.TaskMethod, !operationContext.
Operation
.HasOutputParameters && this.tryAddHelperMethod, declaringContractTypeRef);
System\ServiceModel\Description\DataContractSerializerOperationGenerator.cs (2)
77
DataContractSerializerOperationBehavior DataContractSerializerOperationBehavior = context.
Operation
.Behaviors.Find<DataContractSerializerOperationBehavior>() as DataContractSerializerOperationBehavior;
87
foreach (MessageDescription message in context.
Operation
.Messages)
System\ServiceModel\Description\OperationGenerator.cs (10)
70
if (context.
Operation
== null)
133
this.ContractNS = context.
Operation
.DeclaringContract.Namespace;
135
this.Oneway = (context.
Operation
.IsOneWay);
136
this.Request = context.
Operation
.Messages[0];
137
this.Response = this.Oneway ? null : context.
Operation
.Messages[1];
143
this.IsTaskWithOutputParameters = context.IsTask && context.
Operation
.HasOutputParameters;
198
this.WrappedBodyTypeGenerator.ValidateForParameterMode(this.Context.
Operation
);
244
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_Message, this.Context.
Operation
.CodeName)));
253
this.WrappedBodyTypeGenerator.ValidateForParameterMode(this.Context.
Operation
);
907
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_Bare, parent.Context.
Operation
.CodeName)));
System\ServiceModel\Description\ServiceContractGenerator.cs (6)
438
context.SyncMethod.CustomAttributes.Add(CreateOperationContractAttributeDeclaration(context.
Operation
, false));
442
context.BeginMethod.CustomAttributes.Add(CreateOperationContractAttributeDeclaration(context.
Operation
, true));
446
context.TaskMethod.CustomAttributes.Add(CreateOperationContractAttributeDeclaration(context.
Operation
, false));
587
CallOperationExtensions(EnumerateBehaviorExtensions(operationContext.
Operation
), operationContext);
648
foreach (FaultDescription fault in context.
Operation
.Faults)
868
System.ServiceModel.TransactionFlowAttribute attr = context.
Operation
.Behaviors.Find<System.ServiceModel.TransactionFlowAttribute>();
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (2)
123
foreach (MessageDescription message in context.
Operation
.Messages)
138
XmlSerializerOperationBehavior xmlSerializerOperationBehavior = context.
Operation
.Behaviors.Find<XmlSerializerOperationBehavior>() as XmlSerializerOperationBehavior;